//
//  WQCalendarGridView.h
//  iBaby365v2
//
//  Created by Kirinrin on 14-7-25.
//  Copyright (c) 2014年 suplus. All rights reserved.
//

#import <UIKit/UIKit.h>

@class WQCalendarGridView;
@class WQCalendarTileView;

//@protocol WQCalendarGridViewDataSource
//
//@required
//
//- (NSUInteger)numberOfRowsInGridView:(WQCalendarGridView *)gridView;
//
//- (WQCalendarTileView *)gridView:(WQCalendarGridView *)gridView tileViewForRow:(NSUInteger)row column:(NSUInteger)column;
//
//@optional
//
//- (CGFloat)heightForRowInGridView:(WQCalendarGridView *)gridView;
//
//@end

@protocol WQCalendarGridViewDelegate

@optional
- (void)gridView:(WQCalendarGridView *)gridView didSelectAtCell:(WQCalendarTileView *)cellView;

@end

@interface WQCalendarGridView : UIView
//@property (nonatomic, weak) id<WQCalendarGridViewDataSource> dataSource;

@property (strong, nonatomic)NSDate *displayDate;

@property(nonatomic)BOOL isForTeacher;

@property (nonatomic, weak) id<WQCalendarGridViewDelegate> delegate;
@property(strong, nonatomic)NSArray *checkOnData;
- (void)reloadData;
@end
